home *** CD-ROM | disk | FTP | other *** search
- on oldwind
- global mywindow
- if objectp(mywindow) then
- forget(mywindow)
- end if
- set horzorigin to the stageLeft
- set vertorigin to the stageTop
- set myWindowrect to rect(horzorigin, vertorigin, horzorigin + 1, vertorigin + 1)
- set mywindow to window "blkflash.dir"
- set the rect of mywindow to myWindowrect
- set the fileName of mywindow to "interact"
- set the titleVisible of mywindow to 0
- open(mywindow)
- end
-
- on openwind
- patchpal()
- end
-
- on closewind
- end
-
- on closeother
- global mywindow
- if objectp(mywindow) then
- forget(mywindow)
- end if
- end
-
- on main
- cursor(4)
- if the machineType = 256 then
- go("repc")
- else
- tran()
- go("main")
- end if
- end
-
- on setnavi
- cursor(0)
- puppetSprite(21, 1)
- puppetSprite(22, 1)
- puppetSprite(23, 1)
- end
-
- on navi
- if rollOver(21) then
- set the castNum of sprite 21 to 227
- set the castNum of sprite 22 to 76
- set the castNum of sprite 23 to 77
- exit
- end if
- set the castNum of sprite 21 to 75
- if rollOver(22) then
- set the castNum of sprite 22 to 225
- set the castNum of sprite 23 to 77
- exit
- end if
- set the castNum of sprite 22 to 76
- if rollOver(23) then
- set the castNum of sprite 23 to 226
- exit
- end if
- set the castNum of sprite 23 to 77
- end
-
- on navib
- if rollOver(21) then
- set the castNum of sprite 21 to 223
- set the castNum of sprite 22 to 53
- set the castNum of sprite 23 to 51
- exit
- end if
- set the castNum of sprite 21 to 52
- if rollOver(22) then
- set the castNum of sprite 22 to 224
- set the castNum of sprite 23 to 51
- exit
- end if
- set the castNum of sprite 22 to 53
- if rollOver(23) then
- set the castNum of sprite 23 to 222
- exit
- end if
- set the castNum of sprite 23 to 51
- end
-
- on NaviW
- if rollOver(21) then
- set the castNum of sprite 21 to 34
- set the castNum of sprite 22 to 22
- set the castNum of sprite 23 to 37
- exit
- end if
- set the castNum of sprite 21 to 5
- if rollOver(22) then
- set the castNum of sprite 22 to 31
- set the castNum of sprite 23 to 37
- exit
- end if
- set the castNum of sprite 22 to 22
- if rollOver(23) then
- set the castNum of sprite 23 to 36
- exit
- end if
- set the castNum of sprite 23 to 37
- end
-
- on killpup
- puppetSprite(1, 0)
- puppetSprite(2, 0)
- puppetSprite(3, 0)
- puppetSprite(4, 0)
- puppetSprite(5, 0)
- puppetSprite(6, 0)
- puppetSprite(7, 0)
- puppetSprite(8, 0)
- puppetSprite(9, 0)
- puppetSprite(10, 0)
- puppetSprite(11, 0)
- puppetSprite(12, 0)
- puppetSprite(18, 0)
- puppetSprite(19, 0)
- puppetSprite(21, 0)
- puppetSprite(20, 0)
- puppetSprite(22, 0)
- puppetSprite(23, 0)
- puppetSprite(27, 0)
- killcurs()
- end
-
- on killcurs
- set the cursor of sprite 1 to 0
- set the cursor of sprite 2 to 0
- set the cursor of sprite 3 to 0
- set the cursor of sprite 4 to 0
- set the cursor of sprite 5 to 0
- set the cursor of sprite 6 to 0
- set the cursor of sprite 7 to 0
- set the cursor of sprite 8 to 0
- set the cursor of sprite 9 to 0
- set the cursor of sprite 10 to 0
- end
-